SimplePay\Core\PaymentForm\PriceOption B

Total Complexity 80
Dependencies 3
Dependents 14
Total lines 845
Lines of code 396
Logical lines of code 167
Comment lines 311
Methods 8
Properties 22

Methods 8

Method Rating Maintainability Complexity Lines of code
__construct()
D
25
38 171
get_generated_label()
B
36 15 89
get_simplified_label()
A
41 12 66
is_in_stock()
S
55 5 21
get_remaining_stock()
S
58 4 16
get_display_label()
S
56 3 21
to_array()
S
65 2 9
is_defined_amount()
S
80 1 3